package com.hospital.workstation.domain.bo;

import com.hospital.common.core.validate.AddGroup;
import com.hospital.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.hospital.common.core.domain.BaseEntity;

/**
 * 循证医学相关数据业务对象 hospital_evidence_based_medicine
 *
 * @author hospital
 * @date 2023-03-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class EvidenceBasedMedicineBo extends BaseEntity {

    /**
     * 循证医学ID
     */
    // @NotNull(message = "循证医学ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 循证医学数据
     */
    // @NotBlank(message = "循证医学数据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String evidenceBasedContent;

    /**
     * 循证类别（1肝肾 2瘫痪 3腰痛 4静脉曲张 5慢性中毒 6肝病）
     */
    // @NotBlank(message = "循证类别（1肝肾 2瘫痪 3腰痛 4静脉曲张 5慢性中毒 6肝病）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String evidenceCategory;

    /**
     * 附件ID
     */
    // @NotNull(message = "附件ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long ossId;

    /**
     * 附件地址
     */
    // @NotBlank(message = "附件地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ossUrl;


}
